"""Create table rubricator

Revision ID: 3c5972869ca7
Revises: a2244bf50994
Create Date: 2024-03-28 22:07:54.621583

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '3c5972869ca7'
down_revision: Union[str, None] = 'a2244bf50994'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('rubric',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('rubrics', sa.JSON(), nullable=True),
    sa.Column('created_at', sa.DateTime(), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('rubric')
    # ### end Alembic commands ###
